<template>
    <el-container>
        <el-main>
            <router-view />
        </el-main>
        <el-footer>
            <nav-bottom></nav-bottom>
        </el-footer>
    </el-container>
        
</template>

<script>
import { reactive, toRefs } from 'vue'
import NavBottom from '../components/NavBottom.vue'
export default {
    components: {
        NavBottom
    },
    setup () {
        const state = reactive({
            count: 0
        })
    
        return {
            ...toRefs(state)
        }
    }
}
</script>

<style scoped>
 * {
     margin: 0px;
     padding: 0px;
 }
 .el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    height: 80px;
    line-height: 80px;
  }
 .el-footer{
     position: absolute;
     bottom: 0px;
     width: 100%;
     left: 0px;
 }
</style>